button

public MouseExited.Builder button(MouseButton mouseButton)

Sets the button that was pressed.

Return

this builder

Parameters

mouseButton

the pressed button